#ifndef TANK_H
#define TANK_H

#include <QObject>
#include <QPainter>

class Tank : public QObject
{
    Q_OBJECT
public:
    int pos_x;
    int pos_y;
    explicit Tank(QObject *parent = nullptr);
    void DrawTank(QPainter* p);
    void move(int dx,int dy);

private:
    QImage tank;

signals:

};

#endif // TANK_H
